<div class="container-fluid">
	<div id="pad-wrapper">
		<!-- products table-->
		<!-- the script for the toggle all checkboxes from header is located in js/theme.js -->
		<div class="table-wrapper products-table section">
			<div class="row-fluid head">
				<div class="span12">
					<h4>统计</h4>
				</div>
			</div>
                        <div>  
                            <h5> 主标题：<?php
                                        if($list):
                                           echo $list[0]['title'];
                                        endif;?></h5>
                        </div>
			<form action="" method="get" name="search">
                            <input type="hidden" name="id" value="<?php
                            if($list):
                               echo $list[0]['knowledge_id'];
                            endif;?>">
				<div class="row-fluid filter-block">
					<div class="pull-right">
                                           
						时间：
						<input type="text" style="cursor: default;margin-right:0" onclick="WdatePicker()" readonly="readonly" class="search" name="start_time" ></input>
						-
                                                <input type="text" style="cursor: default;margin-right:20px" onclick="WdatePicker()" readonly="readonly" class="search" name="end_time"></input>
						<a class="btn-flat success" onclick="document.forms['search'].submit();">查询</a>
					</div>
				</div>
			</form>
			
			<div class="row-fluid">
				<table class="table table-hover">
					<thead>
						<tr>
							<th class="span3"><span class="line"></span>时间</th>
							<th class="span3"><span class="line"></span>点击数</th>
						</tr>
					</thead>
					<tbody>
						<?php if($list):?>
						<?php foreach ($list as $item):?>
						<!-- row -->
						<tr class="first">
							<td><?php echo $item['start_time']?>-------<?php echo $item['end_time']?></td>
                                                        <td><?php echo $item['view_count']?></td>			
						</tr>
						<?php endforeach;?>
						<?php endif;?>
					</tbody>
				</table>
			</div>
		</div>
		<!-- end products table -->
	</div>
	<div class="pagination pull-right">
	  <?php echo $pagination;?>
	</div>
</div>





